package net.csdra.DongPoShuZiTuShuGuan.controller.playInfo;

import net.csdra.DongPoShuZiTuShuGuan.domain.PlayInfo;
import net.csdra.DongPoShuZiTuShuGuan.service.PlayInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by add on 2018/1/17.
 */
@RestController
@RequestMapping("/api/PlayInfo")
public class PlayInfoController {
    @Autowired
    PlayInfoService playInfoService;

    @RequestMapping("/getPlayInfo")
    public PlayInfo getPlayInfo() {
        return playInfoService.getPlayInfo();
    }
}
